{% extends 'land.html' %}

{% block content%}
<div class="container">
  <form class="form-horizontal" role="form" method="post" action="/add">
  <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label">用户名</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" id="firstname" name="name" placeholder="请输入用户名：">
    </div>
  </div>
  <div class="form-group">
    <label for="lastname" class="col-sm-2  control-label" pattern="^[a-zA-Z]\w{5,17}$"  title="要以字母开头的6到15位密码">密码</label>
    <div class="col-sm-10">
      <input type="password"  name="psw"    class="form-control" id="lastname" placeholder="密码：">
    </div>
  </div>
   <div class="form-group">
    <label for="lastname2" class="col-sm-2  control-label">确认密码</label>
    <div class="col-sm-10">
      <input type="password"  name="confirm"    class="form-control" id="lastname2" placeholder="确认密码：">
    </div>
  </div>
 <!--  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox">是否记住密码
        </label>
      </div>
    </div>
  </div> -->


  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default" > 注册 </button>

    </div>
  </div>
</form>
</div>



{% endblock%}